function makeClass() {
    "use strict";
    /* 请把你的代码写在这条注释以下 */
    class Thermostat {
        constructor(temperature) {
            this._temperature = temperature;
        }

        get writer() {
            return this._temperature;
        }
        set writer(updatedTemperature) {
            this._temperature = updatedTemperature;
        }
    }
    /* 请把你的代码写在这条注释以上 */
    return Thermostat;
}
const Thermostat = makeClass();
const thermos = new Thermostat(76); // 使用华氏温度来初始化
let temp = thermos.temperature; // 摄氏温度24.44度
thermos.temperature = 26;
temp = thermos.temperature; // 摄氏温度26度
